MailPoet\Newsletter\NewsletterSaveController A

Total Complexity 69
Dependencies 31
Dependents 3
Total lines 432
Lines of code 288
Logical lines of code 190
Comment lines 40
Methods 12
Properties 17

Methods 12

Method Rating Maintainability Complexity Lines of code
save()
A
46 12 37
updateNewsletter()
A
49 11 32
duplicate()
A
41 8 57
updateSegments()
A
50 9 30
updateQueue()
S
52 7 24
rescheduleIfNeeded()
S
55 6 19
updateOptions()
S
54 5 21
createNewsletter()
S
56 3 18
getNewsletter()
S
64 3 10
ensureWpPost()
S
59 2 14
__construct()
S
55 1 19
sanitizeAutomationEmailData()
S
69 2 7